#Conflicts=gnome-shell-x11.service
[Service]
-Type=dbus
+Type=notify
ExecStart=@bindir@/gnome-shell
# Exit code 1 means we are probably *not* dealing with an extension failure
SuccessExitStatus=1
# On wayland we cannot restart
Restart=no
-BusName=org.gnome.Shell
StartLimitBurst=3
[Service]
-Type=dbus
+Type=notify
ExecStart=@bindir@/gnome-shell
# Exit code 1 means we are probably *not* dealing with an extension failure
SuccessExitStatus=1
Restart=always
# Do not wait before restarting the shell
RestartSec=0ms
-BusName=org.gnome.Shell
#include "shell-perf-log.h"
#include "st.h"
+#ifdef HAVE_SYSTEMD
+#include <systemd/sd-daemon.h>
+#else
+/* So we don't need to add ifdef's everywhere */
+#define sd_notify(u, m) do {} while (0)
+#define sd_notifyf(u, m, ...) do {} while (0)
+#endif
+
extern GType gnome_shell_plugin_get_type (void);
#define SHELL_DBUS_SERVICE "org.gnome.Shell"
shell_init_debug (g_getenv ("SHELL_DEBUG"));
shell_dbus_init (meta_get_replace_current_wm ());
+ sd_notify (0, "READY=1");
shell_a11y_init ();
shell_perf_log_init ();
shell_introspection_init ();